<script type="text/javascript">
var successFun=function(res){
if(res.code==200){
	alert('更新成功！');
}
}
$(document).ready(function() { 
	var updateOptions	= {dataType:'json',error:doError,success:doSuccess}
    $('#form').ajaxForm(updateOptions); 
}); 
</script>
<div id="content" class="sitesetting">
<form id="form" action="{url('Site','SaveVip')}" method="post">
<h3 class="title">VIP设置</h3>
<table class="admin-table">
	<tr>
	<td width="120">VIP ID</td>
	<td>
	<input name="id" id="id" type="text" value="{$this->data['vip']['id']}" size="50" /><span etype='error_info' class="error_info" id="id_info"></span>
	</td>
	</tr>
	<tr>
	<td>VIP序列号</td>
	<td>
	<input name="seccode" id="seccode" type="text" value="{$this->data['vip']['seccode']}" size="50" /><span etype='error_info' class="error_info" id="seccode_info"></span>
	</td>
	</tr>
	<tr><td colspan="2"><input id="btnSave" type="submit" value="保存" />&nbsp;&nbsp;&nbsp;<a href="http://www.taozhangmen.net/thread-1213-1-1.html" target="_blank">立即开通VIP功能>></a></td></tr>
</table>
</form>
</div>